package com.lxh.iot.domain;

import com.lxh.common.core.annotation.Excel;
import com.lxh.common.core.web.domain.BaseEntity;

/**
 * 设备定时任务日志对象 iot_device_job_log
 * 
 * @author nealtsiao
 * @date 2023-09-14
 */
public class DeviceJobLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务日志ID */
    private Long jobLogId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String jobName;

    /** 任务ID */
    @Excel(name = "任务ID")
    private Long jobId;

    /** 任务组名 */
    @Excel(name = "任务组名")
    private String jobGroup;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 日志信息 */
    @Excel(name = "日志信息")
    private String jobMessage;

    /** 执行状态（0正常 1失败） */
    @Excel(name = "执行状态", readConverterExp = "0=正常,1=失败")
    private String status;

    /** 异常信息 */
    @Excel(name = "异常信息")
    private String exceptionInfo;

    @Excel(name="设备ID")
    private Long deviceId;

    @Excel(name="定时任务类型")
    private Integer jobType;

    public Long getJobLogId() {
        return jobLogId;
    }

    public void setJobLogId(Long jobLogId) {
        this.jobLogId = jobLogId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getJobMessage() {
        return jobMessage;
    }

    public void setJobMessage(String jobMessage) {
        this.jobMessage = jobMessage;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    @Override
    public String toString() {
        return "DeviceJobLog{" +
                "jobLogId=" + jobLogId +
                ", jobName='" + jobName + '\'' +
                ", jobId=" + jobId +
                ", jobGroup='" + jobGroup + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", jobMessage='" + jobMessage + '\'' +
                ", status='" + status + '\'' +
                ", exceptionInfo='" + exceptionInfo + '\'' +
                ", deviceId=" + deviceId +
                ", jobType=" + jobType +
                '}';
    }
}
